home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 476-500 / disk_479 / uucp / uucp113.2.lzh / uucp2 / man / UUSer < prev   
Text File  |  1991-01-02  |  3KB  |  79 lines

  1.  
  2.                   UUSER.DOC
  3.  
  4.                  UUSER V2.00
  5.  
  6.     UUSER: (C) Copyright 1989-1990 by Matthew Dillon,  All Rights Reserved.
  7.  
  8.     The UUSER device is used to interface programs to the serial port,
  9.     including remote shells.  The device communicates with programs via
  10.     FIFO: and FIFO.LIBRARY through fifos.
  11.  
  12.     UUSER depends on the proper operation of carrier-detect to work
  13.     properly.  To run a program via the UUSER: device, use the *
  14.     qualification to the command in your passwd file:
  15.  
  16.     test,fubar,100,0,(Test Login),ram:,*ram:test
  17.  
  18.     Programs will not be able to tell the difference between operation
  19.     over UUSER: and operation over a normal console.
  20.  
  21.     NOTE 1:    ^C-^F can be propogated to the program over the serial
  22.         device, the program must properly handle these signals.
  23.  
  24.     NOTE 2:    You can run a shell by specifying a non-*'d script file
  25.         called UUCP:SC/UUShell.  However, note that it is possible
  26.         to break out of the program.  Specifically, if you hack the
  27.         script to run a script file on shell startup, it is
  28.         possible to remotely break out of the script file with ^D
  29.  
  30.     test,fubar,100,0,(Test Login),ram:,uucp:sc/UUShell
  31.  
  32.     UUSER USES FIFO: AND FIFO.LIBRARY, the slave side is given to the
  33.     program and the master side is controlled by UUSER:
  34.  
  35.     It is easy to monitor and/or control the session in tandem with the
  36.     remote operator by running the RemCLI program using a FIFO
  37.     specification of the same name as used by UUSER: .. UUSER: uses the
  38.     following specification to run the slave side:
  39.  
  40.     UUSER:<device>/<unit>/<flags>
  41.  
  42.         is passed to FIFO: with
  43.  
  44.     FIFO:uuser.<device>.<unit>/<flags>
  45.  
  46.     Note that Getty handles this, passing the flags 'rwkecs' to UUSER: You
  47.     can run remcli to monitor/control as follows (example):
  48.  
  49.     1> remcli uuser.serial.device.0
  50.  
  51. UUSER FLAGS
  52.     (1) any valid fifo flag (see FIFO.DOC for full list):
  53.  
  54.     r        open for reading
  55.     w        open for writing
  56.     k
  57.     e        EOF on remote close
  58.     c        COOKED console operation (else defaults to RAW operation)
  59.     s        SHELL mode (must be specified if running a shell)
  60.  
  61.     (2) UUSER: specific flags
  62.  
  63.     T<#>    Timeout.  After <#> seconds of idle in both directions
  64.         UUSER: will attempt to disconnect.  Example:    T300
  65.  
  66.     (3) Getty Operation
  67.  
  68.     Getty will run the program using the form in example #1 below.
  69.     The timeout is hardwired at 600 seconds (10 minutes)
  70.  
  71.  
  72. EXAMPLE OF MANUAL OPERATION:
  73.  
  74.     1> FuBar <UUSER:serial.device/0/rcT600 >UUSER:serial.device/0/weT600
  75.  
  76.     2> NewShell UUSER:serial.device/0/rwkecsT600
  77.  
  78.  
  79.